package com.dmjj.limit.dao;

import com.dmjj.common.base.BaseMapper;
import com.dmjj.limit.dto.DataAuthDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 数据范围授权表数据层处理接口
 * @Author zhangxue
 * @Date 2019-03-23 15:00:15
 */
@Mapper
public interface DataAuthMapper extends BaseMapper<DataAuthDTO, Long> {

    /**
     * 查询用户是否已经授权权限范围
     * @Author zhangxue
     * @Date 2019-03-21 09:40:56
     * @Param
     * @Return
     */
    List<DataAuthDTO> queryDataAuthIsExist(String userno);
}
